				<div class="section">
                	<script type="text/javascript">
					function checkuser(){
						var form = document.sac;
						if(form.news_title.value == ""){
							alert("Please enter news title!");
							form.news_title.focus();
							return false;
						}else{
							return true;
						}
					}
				</script>
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Add Type</h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<!--[if !IE]>end title wrapper<![endif]-->
					
					<!--[if !IE]>start section content<![endif]-->
					<div class="section_content">
						<span class="section_content_top"></span>
						
						<div class="section_content_inner">
                        	<div class="table_tabs_menu">
							<!--[if !IE]>start  tabs<![endif]-->
							<!--[if !IE]>end  tabs<![endif]-->

							</div>
				<!--[if !IE]>start table_wrapper<![endif]-->
							<div class="table_wrapper" style="background:none;">
								<div class="table_wrapper_inner">
                                	<div class="error_red"><?php if(isset($error)) { echo "<p>".$error."</p>"; } ?>
										<?php echo validation_errors();?>
									</div>
									<form action="<?php echo base_url();?>admin/type/add" method="post" name="sac" onsubmit="return checkuser()" enctype="multipart/form-data">
                                    <div class="form_items">
                                        <div class="form_items_left">Name</div>
                                        <div class="form_items_right">
                                           <input type="text" name="name">
                                        </div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Order By</div>
                                        <div class="form_items_right">
                                            <input type="text" name="order_by">
                                        </div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Keyswords SEO</div>
                                        <div class="form_items_right">
                                        <textarea name="keywords" id="" cols="30" rows="5"></textarea>
                                        </div>
                                     </div>
                                     <div class="form_items">
                                        <div class="form_items_left">Descriptions SEO</div>
                                        <div class="form_items_right">
                                        <textarea name="descripti" id="" cols="30" rows="5"></textarea>
                                        </div>
                                     </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Description</div>
                                        <div class="form_items_right">
                                            <?php
                                            $fck = new FCKeditor('description');
                                            $fck->BasePath = sBASEPATH;
                                            //$fck->Value  = $getdata['sheep_promo_val'];
                                            $fck->Width  = '100%';
                                            $fck->Height = 400;
                                            $fck->Create();
                                            ?>
                                        </div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Sale</div>
                                        <div class="form_items_right">
                                            <input type="text" name="sale">
                                        </div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">Sale Content</div>
                                        <div class="form_items_right">
                                            <?php
                                            $fck = new FCKeditor('sale_content');
                                            $fck->BasePath = sBASEPATH;
                                            //$fck->Value  = $getdata['sheep_promo_val'];
                                            $fck->Width  = '100%';
                                            $fck->Height = 400;
                                            $fck->Create();
                                            ?>
                                        </div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Logo</div>
                                        <div class="form_items_right">
                                            <input name="logo" type="file"  size="35" />
                                        </div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Icon</div>
                                        <div class="form_items_right">
                                            <input name="icon" type="file"  size="35" />
                                        </div>
                                    </div>
                                    <div class="form_items">
                                        <div class="form_items_left">Icon2</div>
                                        <div class="form_items_right">
                                            <input name="icon2" type="file"  size="35" />
                                        </div>
                                    </div>
                                    <div class="form_items">
                                    	<div class="form_items_left">&nbsp;</div>
                                        <div class="form_items_right">
                                        	<input type="submit" name="ok" value="Add Type" class="magin"/>
                                            <input type="reset" name="Reset" id="button" value="Reset" class="magin"/>
                                        </div>
                                    </div>

                                	</form>
								</div>
							</div>
							<!--[if !IE]>end table_wrapper<![endif]-->
						</div>
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>